import service from '@/utils/request'

// @Tags MoldStartNoticePrintHistory
// @Summary 创建起模通知单-打印历史
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticePrintHistory true "创建起模通知单-打印历史"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /moldStartNoticePrintHistory/createMoldStartNoticePrintHistory [post]
export const createMoldStartNoticePrintHistory = (data) => {
  return service({
    url: '/moldStartNoticePrintHistory/createMoldStartNoticePrintHistory',
    method: 'post',
    data
  })
}

// @Tags MoldStartNoticePrintHistory
// @Summary 删除起模通知单-打印历史
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticePrintHistory true "删除起模通知单-打印历史"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /moldStartNoticePrintHistory/deleteMoldStartNoticePrintHistory [delete]
export const deleteMoldStartNoticePrintHistory = (params) => {
  return service({
    url: '/moldStartNoticePrintHistory/deleteMoldStartNoticePrintHistory',
    method: 'delete',
    params
  })
}

// @Tags MoldStartNoticePrintHistory
// @Summary 批量删除起模通知单-打印历史
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除起模通知单-打印历史"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /moldStartNoticePrintHistory/deleteMoldStartNoticePrintHistory [delete]
export const deleteMoldStartNoticePrintHistoryByIds = (params) => {
  return service({
    url: '/moldStartNoticePrintHistory/deleteMoldStartNoticePrintHistoryByIds',
    method: 'delete',
    params
  })
}

// @Tags MoldStartNoticePrintHistory
// @Summary 更新起模通知单-打印历史
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticePrintHistory true "更新起模通知单-打印历史"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /moldStartNoticePrintHistory/updateMoldStartNoticePrintHistory [put]
export const updateMoldStartNoticePrintHistory = (data) => {
  return service({
    url: '/moldStartNoticePrintHistory/updateMoldStartNoticePrintHistory',
    method: 'put',
    data
  })
}

// @Tags MoldStartNoticePrintHistory
// @Summary 用id查询起模通知单-打印历史
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.MoldStartNoticePrintHistory true "用id查询起模通知单-打印历史"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /moldStartNoticePrintHistory/findMoldStartNoticePrintHistory [get]
export const findMoldStartNoticePrintHistory = (params) => {
  return service({
    url: '/moldStartNoticePrintHistory/findMoldStartNoticePrintHistory',
    method: 'get',
    params
  })
}

// @Tags MoldStartNoticePrintHistory
// @Summary 分页获取起模通知单-打印历史列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取起模通知单-打印历史列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /moldStartNoticePrintHistory/getMoldStartNoticePrintHistoryList [get]
export const getMoldStartNoticePrintHistoryList = (params) => {
  return service({
    url: '/moldStartNoticePrintHistory/getMoldStartNoticePrintHistoryList',
    method: 'get',
    params
  })
}
